package com.yingjia.yingjiauniversity.bean.base;


import com.yingjia.yingjiauniversity.base.BaseEntry;

/**
 * 签名基础bean
 * Created by hailiang.lian.o on 2018/5/8.
 */

public class SignatureEntity<T> extends BaseEntry<T> {

    private static final String SUCCESS = "0000";

    public String getCode() {
        return getResultCode();
    }

    public void setCode(String code) {
        setResultCode(code);
    }

    public T getData() {
        return getResultData();
    }

    public boolean isSuccess() {
        return SUCCESS.equals(getResultCode());
    }

    public String getDesc() {
        return getResultDesc();
    }


}
